<?php
//  return [
//      'components' => [
//          'db' => [
//              'class' => 'yii\db\Connection',
//              'dsn' => 'mysql:host=192.168.10.137;dbname=muxin',
//              'username' => 'other',
//              'password' => 'other',
//              'charset' => 'utf8',
//          ],
//          'mailer' => [
//              'class' => 'yii\swiftmailer\Mailer',
//              'viewPath' => '@common/mail',
//              // send all mails to a file by default. You have to set
//              // 'useFileTransport' to false and configure a transport
//              // for the mailer to send real emails.
//              'useFileTransport' => true,
//          ],
//      ],
//  ];





return [
//   'components' => [
//       'db' => [
//           'class' => 'yii\db\Connection',
//           'dsn' => 'mysql:host=47.94.144.66;port=3306;dbname=muxin',
//           'username' => 'zaizai',
//           'password' => '000000',
//           'charset' => 'utf8',
//       ],
//       'mailer' => [
//           'class' => 'yii\swiftmailer\Mailer',
//           'viewPath' => '@common/mail',
//           // send all mails to a file by default. You have to set
//           // 'useFileTransport' to false and configure a transport
//           // for the mailer to send real emails.
//           'useFileTransport' => true,
//       ],
//   ],
    'components' => [
        'db' => [
            'class' => 'yii\db\Connection',
            'dsn' => 'mysql:host=127.0.0.1;port=3306;dbname=bread',
            'username' => 'root',
            'password' => 'root',
            'charset' => 'utf8',
        ],
        'mailer' => [
            'class' => 'yii\swiftmailer\Mailer',
            'viewPath' => '@common/mail',
            // send all mails to a file by default. You have to set
            // 'useFileTransport' to false and configure a transport
            // for the mailer to send real emails.
            'useFileTransport' => true,
        ],
    ],
];